package com.qf.medical.controller;

import com.qf.medical.service.HospitalizationService;
import com.qf.medical.vo.PageBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @EXPLAIN:
 * @author: 苑天恒
 * @DATE: 2023/5/7 0007
 * @Email: 3483282099@qq.com
 */
@RestController
@RequestMapping("/hospitalization")
public class HospitalizationController {
    @Autowired
    private HospitalizationService hospitalizationService;
    @RequestMapping("/hospitalizationList")
    public PageBean selectOperation(Integer zyid, int page, int limit) {
        return hospitalizationService.selectHospitalizationList(zyid, page, limit);
    }
}
